package com.ysl.study.designpattern.createmode.singleton;

/**
 *
 * @author yangshanlin
 * @date 2023/2/16 18:17
 * @describe
 */
public class SingletonTest {

    public static void main(String[] args) {
        Singleton6 s1 = Singleton6.getInstance();
        Singleton6 s2 = Singleton6.getInstance();

        System.out.println(s1 == s2);
    }

}
